package com.sinping.qh.service.app.noticebook;

import com.sinping.qh.api.support.FrontPage;
import com.sinping.qh.dto.app.records.HiddendangerByAppDTO;
import com.sinping.qh.dto.app.records.HiddendangerNoticeBookByAppDto;
import com.sinping.qh.dto.app.records.HiddendangerNoticeBookGroupByAppDto;
import com.sinping.qh.dto.mongo.auth.UserSessionDTO;

import java.util.List;

/**
 * @author jiahuaiqing
 * @create 2018/6/9
 */
public interface INoticeBookServiceApp {
    /**
     * 分页查询
     * @param frontPage
     * @return
     */
    FrontPage findPage(FrontPage frontPage,UserSessionDTO userSessionDto);

    List<HiddendangerNoticeBookGroupByAppDto> findUnitByHiddenDangerIds(List<String> hiddenDangerIds, UserSessionDTO userSessionDto);

    List<HiddendangerByAppDTO> findHiddenDangerRecords(HiddendangerNoticeBookByAppDto hiddendangerNoticeBookByAppDto, UserSessionDTO userSessionDto);

}
